import { $get } from '@js/request'
import { PDFSchema } from '@src/components/schema/pdf';

export async function getFileRequest (caseid: string, fileid: string): Promise<PDFSchema> {
  const res = await $get(`/api/commission/document/${caseid}/${fileid}`)
  return res.data
}
